package cn.leestudio.leelibrary.rest.bussness.bean;

import com.google.gson.Gson;

/**
 * 描 述:
 *
 * @author: lihui
 * @date: 2017-12-13 10:45
 */

public class LoginReturn {

    /**
     * Auth : 09e54171da70c6189ed1bd36f3546f957f8f3ed783e76f32de227929ca9e81adf011812d7fbe993d
     * UserId : 25
     * UserNick : 李晖兼容性水至清则无
     */

    private String Auth;
    private int UserId;
    private String UserNick;

    public static LoginReturn objectFromData(String str) {

        return new Gson().fromJson(str, LoginReturn.class);
    }

    public String getAuth() {
        return Auth;
    }

    public void setAuth(String Auth) {
        this.Auth = Auth;
    }

    public int getUserId() {
        return UserId;
    }

    public void setUserId(int UserId) {
        this.UserId = UserId;
    }

    public String getUserNick() {
        return UserNick;
    }

    public void setUserNick(String UserNick) {
        this.UserNick = UserNick;
    }
}
